package com.zuqiuzhandui.liveing.view.main;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;


import com.zuqiuzhandui.R;
import com.zuqiuzhandui.liveing.base.BaseActivity;
import com.zuqiuzhandui.liveing.view.login.LoginActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class MainActivity extends BaseActivity {

    @BindView(R.id.rl_top)
    RelativeLayout rlTop;
    @BindView(R.id.tv_app_label)
    TextView tvAppLabel;
    @BindView(R.id.tv_weixin_login)
    TextView tvWeixinLogin;
    @BindView(R.id.tv_mobile_login)
    TextView tvMobileLogin;
    @BindView(R.id.activity_main)
    RelativeLayout activityMain;

    @Override
    public void setViewId() {
        setContentView(R.layout.activity_main);
        setBackEnable(false);
        setNeedDisplayHomeAsUpEnabled(false);
    }

    @Override
    public void initView() {
        setCouldDoubleBackExit(true);
        setNeedHideToolbar(true);
    }



    @OnClick({R.id.tv_weixin_login, R.id.tv_mobile_login})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.tv_weixin_login:
                //微信登录
                break;
            case R.id.tv_mobile_login:
                //手机号登录
                toLastView(LoginActivity.class);
                break;
        }
    }
}
